﻿<Window
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:local="clr-namespace:MusicPlayerPlus.PlugIn.MiniWindow" x:Class="MusicPlayerPlus.PlugIn.MiniWindow.MainWindow"
        Title="MiniWindow" Height="70" Width="280" AllowsTransparency="True" WindowStyle="None" Background="{x:Null}"
        MouseEnter="Window_MouseEnter_1"
        MouseLeave="Window_MouseLeave_1" ResizeMode="NoResize" WindowState="Minimized" ShowInTaskbar="False" Topmost="True">
	<Window.Resources>
		<ResourceDictionary>
			<ResourceDictionary.MergedDictionaries>
				<ResourceDictionary Source="ResourceDictionary1.xaml"/>
			</ResourceDictionary.MergedDictionaries>
		</ResourceDictionary>
	</Window.Resources>
    <Grid Margin="10" Height="45">
    	<Rectangle Fill="#4C000000" Margin="0"/>
    	<TextBlock x:Name="txt_name" VerticalAlignment="Top" Foreground="#FFBDFFD0" FontSize="18.667" Margin="5,5,50,0" TextTrimming="WordEllipsis" TextAlignment="Center"/>
    	<TextBlock x:Name="txt_album" Text="" VerticalAlignment="Bottom" Foreground="#FFBDD0FF" Margin="50,0,50,3" TextTrimming="WordEllipsis" TextAlignment="Center"/>
    	<TextBlock x:Name="txt_time" HorizontalAlignment="Left" TextWrapping="Wrap" Text="00:00/00:00" VerticalAlignment="Bottom" FontSize="8" Foreground="White" Margin="2,0,0,0"/>
    	<Image x:Name="img_pic"
    		    HorizontalAlignment="Right" Stretch="Fill" Width="45"
    		    MouseLeftButtonDown="img_pic_MouseLeftButtonDown_1"
    		    MouseEnter="img_pic_MouseEnter_1"
    		    MouseLeave="img_pic_MouseLeave_1"
                Margin="0,0,0,0"
				Source="pack://siteoforigin:,,,./default.png"
                />
    	<Grid x:Name="grid_btn" Margin="0" Grid.Column="1" Grid.Row="1" VerticalAlignment="Top" Height="45" Visibility="Collapsed" ClipToBounds="True">
    		<StackPanel Margin="0,0,45,0" Orientation="Horizontal" HorizontalAlignment="Right" Height="45" VerticalAlignment="Top">
                <Grid x:Name="btn_pre" 
                       HorizontalAlignment="Left" Width="45" Height="45"
                       Background="{StaticResource img_rew}"
                       MouseLeftButtonDown="btn_pre_MouseLeftButtonDown_1"
                       MouseEnter="btn_pre_MouseEnter_1"
                       MouseLeave="btn_pre_MouseLeave_1"
                       />
                <Grid x:Name="btn_play"  
                       Margin="0" Height="45" Width="45"
                       Background="{StaticResource img_play}"
                       MouseLeftButtonDown="btn_play_MouseLeftButtonDown_1"
                       MouseEnter="btn_play_MouseEnter_1"
                       MouseLeave="btn_play_MouseLeave_1"
                       />
                <Grid x:Name="btn_stop"  
                       Height="45" Width="45"
                       Background="{StaticResource img_stop}"
                       MouseLeftButtonDown="btn_stop_MouseLeftButtonDown_1"
                       MouseEnter="btn_stop_MouseEnter_1"
                       MouseLeave="btn_stop_MouseLeave_1"
                       />
                <Grid x:Name="btn_next"  
                       Height="45" Width="45"
                       Background="{StaticResource img_next}"
                       MouseLeftButtonDown="btn_next_MouseLeftButtonDown_1"
                       MouseEnter="btn_next_MouseEnter_1"
                       MouseLeave="btn_next_MouseLeave_1"
                       />
    		</StackPanel>
            <Grid x:Name="btn_goback" 
                   HorizontalAlignment="Left" 
                   Background="{StaticResource img_goback}"
                   Margin="-11.667,-12.667,0,12.667" Height="45" Width="45"
                   MouseLeftButtonDown="btn_goback_MouseLeftButtonDown_1"
                   MouseEnter="btn_goback_MouseEnter_1"
                   MouseLeave="btn_goback_MouseLeave_1"
                   />
    	</Grid>
        <Border BorderThickness="1,1,1,0" BorderBrush="#FFBDFFD0">
            <!--<Border.Effect>
                <DropShadowEffect x:Name="drop_frame" Color="{DynamicResource Color_1}"  ShadowDepth="0" Direction="500" BlurRadius="10"/>
            </Border.Effect>-->
        </Border>

    	<local:TimeLine x:Name="timeline" VerticalAlignment="Bottom" Height="1" Margin="1,0"/>

    </Grid>
</Window>
